From 09150fd700874bf0362f60856d9ba70944aff5ee Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 15 Dec 2010 13:34:26 +0000 Subject: [PATCH] blktap2: fix up non-ASCII characters in 21129:bf74d9c31674 21129:bf74d9c31674 contained UTF-8-encoded nonbreaking spaces. Sorry for not noticing this. Signed-off-by: Ian Jackson --- tools/hotplug/Linux/xen-hotplug-cleanup | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/hotplug/Linux/xen-hotplug-cleanup b/tools/hotplug/Linux/xen-hotplug-cleanup index 237a2d1700..fcaa8fc8c6 100644 --- a/tools/hotplug/Linux/xen-hotplug-cleanup +++ b/tools/hotplug/Linux/xen-hotplug-cleanup @@ -21,12 +21,12 @@ if [ "$vm" != "" ]; then # if the vm path does not exist and the device class is 'vbd' then we may have # a tap2 device -  $(xenstore-read "$vm_dev" 2>/dev/null) || \ -  { -     if [ "${path_array[1]}" = "vbd" ]; then -        vm_dev="$vm/device/tap2/${path_array[3]}" -     fi -  } + $(xenstore-read "$vm_dev" 2>/dev/null) || \ + { + if [ "${path_array[1]}" = "vbd" ]; then + vm_dev="$vm/device/tap2/${path_array[3]}" + fi + } else vm_dev= fi -- 2.30.2